<?php

class IException extends Exception {
	private $module;
	
	public function __construct($message, $code = 0, $module = null) {
		parent::__construct($message, $code);
		$this->module = $module;
	}
	
	public function setModule($module) {
		$this->module = $module;
	}
	
	public function module() {
		return $this->module;
	}
}


?>